package com.java.jvm.oom;
/**
 * JVM 参数配置
 * 1)最大堆-Xmx5m
 * 2)最小堆-Xms5m
 */
public class BigObjectOOMTests {
    public static void main(String[] args) {
        byte[] array=new byte[1024*1024*5];
    }
}
